/**
 *@auther: tang
 *@Date: 2020-11-10
 *Project: group-booking-shop-manage-system
 */
//配置接口地址
//分模块
const allApi = {
    userApi:{
        login:"/loginApi/user/login",
        loginIp:"/ipApi/cityjson"
    },
    //商品模块接口
    goodsApi:{
        //商品管理
        goodsManage:"api/goods/goodsManage",
        addGoods:"api/product/add",
        updateGoods:"api/product/update",
        deleteGoods:"api/product/del",
        inputSearch:"api/product/fandNameAndNum",
        selectSearch:"api/product/findAll",
        //分类管理
        categoryManage:"api/goods/categoryManage",
        addCategory:"api/product/classify/add",
        updateCategory:"api/product/classify/update",
        deleteCategory:"api/product/classify/del",
        //商品标签
        goodsTips:"api/goods/goodsTips",
        addTips:"api/product/lable/add",
        updateTips:"api/product/label/update",
        //商品评论
        goodsComm:"api/goods/goodsComm",
        deleteComm:"api/product/comment/del",
        searchComm:"api/product/comment/findAll"
    },
    couponApi:{
        couponPage:"/test/coupon/home",
        addCoupon: "/test/coupon/add",
        modifyCoupon: "/test/coupon/modify",
        deleteCoupon: "/test/coupon/delete",
        grantCoupon:"/test/coupon/grant"
    },
    killApi: {
        killList:"/test/kill/list",
        killAdd: "/test/kill/add",
        killModify: "/test/kill/modify",
        killDelete: "/test/kill/delete",
        killCoupon: "/test/kill/shop"
    },
    luckApi: {
        luckPage: "/test/luck/list"
    },
    permissionApi:{
        adminList:"/yapiSer/adm/list",
        addAdmin:"/yapiSer/adm/add",
        allot:"/yapiSer/adm/allot",
        admLog:"/yapiSer/adm/log",
        uptAdm:"/yapiSer/adm/update",
        delAdm:"/yapiSer/adm/del",
        admLogs:"/yapiSer/adm/logs",
        admLogDel:"/yapiSer/adm/logDel",
        logCondi:"/yapiSer/adm/logsCondition",
    },
    settings:{
        //    商店设置
        shopList:"/yapiSer/shop/list",
        menuManagerList:"/yapiSer/shop/menuManagerList",
        payTypeList:"/yapiSer/shop/payTypeList",
        deliveryTypeList:"/yapiSer/shop/sendTypeList"
    }
}

export default allApi
